home *** CD-ROM | disk | FTP | other *** search
- Path: news.nask.org.pl!usenet
- From: flssoft@blue.maloka.waw.pl (Grzegorz (FLS))
- Newsgroups: comp.lang.c++
- Subject: Re: merge sort
- Date: Tue, 02 Apr 1996 23:44:16 GMT
- Organization: Research and Academic Computer Network
- Message-ID: <4jsae3$1a3@bilbo.nask.org.pl>
- References: <4jpqpg$lhj@dub-news-svc-6.compuserve.com>
- NNTP-Posting-Host: s110.maloka.waw.pl
- X-Newsreader: Forte Free Agent v0.46
-
- Philippe Verdy <100105.3120@compuserve.com> wrote:
-
- >PC Lab User <lab-mail@cs.utas.edu.au> s'Θcrit :
- >> has anyone got some source for the "merge" algorithm used in mergesort?
- >> thanx
- >>
- >> m_wookey@postoffice.utas.edu.au
- >This sort algorithm is of the same general idea as the QuickSort:
- >Divide and conquer. It is dividing a segment to sort, into two
- >subsegments to sort.
- [cut]
-
- But note that Marge Sort has O(n) memory cost. Quick Sort has O(1).
-
- Grzegorz.
-
-
-